FUNCTION

eth_privkey_to_address

pure function eth_privkey_to_address(privkey: byte_array): byte_array

Compute a 20-byte Ethereum address from a 32-byte private key.

Parameters

  • privkey — the 32-byte private key

Throws

  • exception — if privkey is not 32 bytes

Since

0.13.5

© 2026 Chromia